#ifndef NEWSTRAYICON_HPP
#define NEWSTRAYICON_HPP

#include "newsviewer.hpp"
#include "newssetting.hpp"
#include "newsfetcher.hpp"
#include <QIcon>
#include <QMenu>
#include <QString>
#include <QSystemTrayIcon>

class NewsTrayIcon : public QSystemTrayIcon
{
    Q_OBJECT

public:
    explicit NewsTrayIcon();

private:
    void createContextMenu();
    QMenu menu;
    NewsViewer *newsviewer;
    NewsSetting *newssetting;
    NewsFetcher *newsfetcher;
};

#endif // NEWSTRAYICON_HPP
